import type { IMenu } from '@/api/modules/auth/menu';
import { useQuery, useTable } from '@/hooks/table';

export const allowEditMenu = ref(false);

export const query = useQuery<IMenu>({
  orderByColumn: 'order_num',
  isAsc: 'asc',
});
export const table = useTable<IMenu>({
  rowKey: 'menuId',
  moduleName: 'menu',
});
